<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <%@include file="../WEB-INF/jspf/html_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/cabecera.jspf" %>
    <%@include file="../WEB-INF/jspf/navbar.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/menu_principal.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_medio.jspf" %>
    <%@include file="../WEB-INF/jspf/bloque_inicio.jspf" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Editar</title>
       <link rel=stylesheet type="text/css" href="/edu.upn.sigeadmi.cxc-war/style.css">
    </head>
    <body>
        
        <h:form id="frmEditar">
            <fieldset>
            <legend>Editar</legend>
            <h:panelGrid columns="2">

                <h:outputLabel value="Codigo" for="codigo"/>
                <h:inputText value="#{TasaInteresController.tasainteres.pkTasaInteres}" disabled="true"/>

                <h:outputLabel value="Descripcion" for="descripcion"/>
                <h:inputTextarea rows="3" cols="50" value="#{TasaInteresController.tasainteres.descripcion}"/>

                <h:outputLabel value="Periodo Tiempo" for="periodoTiempo"/>
                <h:inputText value="#{TasaInteresController.tasainteres.periodoTiempo}"/>

                <h:outputLabel value="Tasa" for="tasa"/>
                <h:inputText value="#{TasaInteresController.tasainteres.tasa}"/>

                <h:commandButton id="btnGuardar" value="Guardar"
                                 action="#{TasaInteresController.editar}"/>
                <h:commandButton id="btnCancelar" value="Cancelar"
                                 action="volver"/>

            </h:panelGrid>
            </fieldset>

        </h:form>
         <div class="centrar">
            <a href="#"><img src="/edu.upn.sigeadmi.cxc-war/img/logo_ta_resize.png" border="0"/></a>
        </div>
        <%@include file="../WEB-INF/jspf/bloque_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/pie.jspf" %>
    <%@include file="../WEB-INF/jspf/html_fin.jspf" %>
    </body>
</html>
</f:view>